package cn.modification.mall.pojo.oa.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;
@Data
@ApiModel(description = "菜单")
public class Menu {


    private Long id;


    private Date createTime;


    private Date updateTime;


    private Integer isDeleted;


    private Map<String,Object> param = new HashMap<>();



    @ApiModelProperty(value = "id")
    private Long parentId;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "网页 链接，用户点击菜单可打开链接")
    private String url;

    @ApiModelProperty(value = "菜单KEY值，用于消息接口推送")
    private String menuKey;

    @ApiModelProperty(value = "排序")
    private Integer sort;
}
